package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.DmcCsunSleepConfig;
import com.csun.cmny.provider.model.dto.life.DfcSleepThresholdDto;
import com.csun.cmny.provider.model.vo.DfcSleepThresholdVo;

public interface DmcDfcSleepThresholdService extends IService<DmcCsunSleepConfig> {

    //查询床垫阈值配置
    DfcSleepThresholdVo getDfcSleepThreshold(Long deviceId);

    //批量配置床垫阈值
    int setDfcSleepThreshold(DfcSleepThresholdDto dto, LoginAuthDto loginAuthDto);

}
